/* Lab 1, exercise 2
刘文骏 2023.7.7
*/
#include <system.h>

void main()
{
    trisb = 0;
    adcon1 = 0x06;
    while(1)
    {
        portb = 255 - porta;
        // portb = porta - 255;
    }
}
